<?php
class UserToken extends BaseActiveRecord
{
    public static function model($className=__CLASS__)
    {
        return parent::model($className);
    }

    public function tableName()
    {
        return '{{user_token}}';
    }

    public function behaviors()
    {
        return array(
        //     'AppBindBehavior'=>array(
        //         'class'=>'application.behaviors.AppBindBehavior',
        //         'app_id'=>$app_id,
        //     ),
            'UserTokenBehavior'=>array(
                'class'=>'application.behaviors.UserTokenBehavior'
            )
        );
    }
}
